www.gusucode.com > VC++ 自制SQL数据库,含有服务端+客户端-源码程序 > VC++ 自制SQL数据库,含有服务端+客户端-源码程序/code/Client/SelDoc.cpp
//Download by http://www.NewXing.com // SelDoc.cpp : implementation file // #include "stdafx.h" #include "Client.h" #include "SelDoc.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CSelDoc IMPLEMENT_DYNCREATE(CSelDoc, CDocument) CSelDoc::CSelDoc() { } BOOL CSelDoc::OnNewDocument() { if (!CDocument::OnNewDocument()) return FALSE; return TRUE; } CSelDoc::~CSelDoc() { } BEGIN_MESSAGE_MAP(CSelDoc, CDocument) //{{AFX_MSG_MAP(CSelDoc) // NOTE - the ClassWizard will add and remove mapping macros here. //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CSelDoc diagnostics #ifdef _DEBUG void CSelDoc::AssertValid() const { CDocument::AssertValid(); } void CSelDoc::Dump(CDumpContext& dc) const { CDocument::Dump(dc); } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // CSelDoc serialization void CSelDoc::Serialize(CArchive& ar) { if (ar.IsStoring()) { // TODO: add storing code here } else { // TODO: add loading code here } } ///////////////////////////////////////////////////////////////////////////// // CSelDoc commands